<template>
  <div class="purseState">
    <view v-if="state == 0" class="contnet">
   
      <uv-image width="180rpx" height="175rpx" src="/static/jifen2.png"></uv-image>
      <view class="font_text">
        提现成功
      </view>

      <view class="message_text">
        钱款将于3-7个工作日打入您指定账户 实际到账时间以通知为准
      </view>

       <view class="button_pa">
        <uv-button @click="back" type="error"> 返回</uv-button>
       </view>
    </view>

    <view v-if="state == 1" class="contnet">
   
   <uv-image width="173rpx" height="127rpx" src="/static/jifen3.png"></uv-image>
   <view class="font_text">
    提现失败
   </view>

   <view class="message_text">请检查您输入的信息是否正确
   </view>

    <view class="button_pa">
     <uv-button @click="back" type="error"> 返回</uv-button>
    </view>
 </view>

  </div>
</template>

<script setup>
import { onShow } from "@dcloudio/uni-app"
import {ref} from "vue"


onShow(()=>{
  state.value = uni.getStorageSync('TState')
})

let state = ref(1)

let back = () => {
  uni.navigateBack ({ delta: 1})
}


</script>

<style lang="scss" scoped>
.button_pa{
  margin-top: 
  200rpx;
  width: 100%;
  padding: 0 20rpx;
}
.message_text{
  text-align: center;
  width: 400rpx;
  margin-top: 30rpx;
  font-family: Microsoft YaHei;
font-weight: 400;
font-size: 22rpx;
color: #000000;

}
.font_text{
  margin-top: 20rpx;
  font-family: Microsoft YaHei;
font-weight: 400;
font-size: 32rpx;
color: #000000;

}

.purseState{
  .contnet{
    width: 100%;
    display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  }
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
background: #F8F8F8;
}
</style>